/**
 *
 */
package com.zhuoyue.elmt.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 常见问题Entity
 * @author JiangYH
 * @version 2016-12-30
 */
public class PlaCommonQuestion extends DataEntity<PlaCommonQuestion> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String solveway;		// 解决办法
	private String isshow;		// 是否显示
	private String remark; // 备注
	
	public PlaCommonQuestion() {
		super();
	}

	public PlaCommonQuestion(String id){
		super(id);
	}

	@Length(min=1, max=100, message="标题长度必须介于 1 和 100 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=1, max=2000, message="解决办法长度必须介于 1 和 2000 之间")
	public String getSolveway() {
		return solveway;
	}

	public void setSolveway(String solveway) {
		this.solveway = solveway;
	}
	
	@Length(min=0, max=100, message="是否显示长度必须介于 0 和 100 之间")
	public String getIsshow() {
		return isshow;
	}

	public void setIsshow(String isshow) {
		this.isshow = isshow;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}